package com.icebartech.base.modules.user.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.icebartech.base.modules.user.model.AppMenu;
import com.icebartech.core.modules.BaseMapper;

public interface AppMenuMapper extends BaseMapper{
    
    List<AppMenu> getAppMenuByParentId(@Param("parentId")Long parentId);
    
    List<AppMenu> findAppNavbarMenusByRoleKey(@Param("roleKey")String roleKey);
    
    List<AppMenu> findAppMenusByRoleKeyAndParentId(@Param("roleKey")String roleKey,@Param("parentId")Long parentId);
}